// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  sed_c_union_define.h
// Project line  :  K3
// Department    :  K3
// Author        :  Huawei
// Version       :  V100
// Date          :  2015/4/10
// Description   :  HiVcodecV100 VDEC
// Others        :  Generated automatically by nManager V4.2 
// History       :  Huawei 2018/04/10 10:02:40 Create file
// ******************************************************************************

#ifndef __SED_C_UNION_DEFINE_H__
#define __SED_C_UNION_DEFINE_H__

/* Define the union U_SED_STA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0                : 11  ; /* [31:21] */
        unsigned int    it2se_buffer_full    : 1  ; /* [20] */
        unsigned int    pmv2se_buffer_full   : 1  ; /* [19] */
        unsigned int    pmv2sed_ctb_buf_full : 1  ; /* [18] */
        unsigned int    pmv2sed_cu_buf_full  : 1  ; /* [17] */
        unsigned int    pmv2sed_pu_buf_full  : 1  ; /* [16] */
        unsigned int    pmv2sed_tu_buf_full  : 1  ; /* [15] */
        unsigned int    ctl2par_top_sta      : 11  ; /* [14:4] */
        unsigned int    ctl2par_err          : 1  ; /* [3] */
        unsigned int    ctl2par_pic_rdy      : 1  ; /* [2] */
        unsigned int    ctl2par_slc_rdy      : 1  ; /* [1] */
        unsigned int    ctl2par_mb_rdy       : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STA;

/* Define the union U_SED_MBXY */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1      : 7  ; /* [31:25] */
        unsigned int    se2dpi_mby : 9  ; /* [24:16] */
        unsigned int    rsv_2      : 7  ; /* [15:9] */
        unsigned int    se2dpi_mbx : 9  ; /* [8:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_MBXY;

/* Define the union U_SED_FSTMB */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3        : 12  ; /* [31:20] */
        unsigned int    first_mb_num : 20  ; /* [19:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_FSTMB;

/* Define the union U_SED_LSTMB */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4       : 12  ; /* [31:20] */
        unsigned int    last_mb_num : 20  ; /* [19:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_LSTMB;

/* Define the union U_SED_STATE2_0_H264 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    se_mvd_state      : 4  ; /* [31:28] */
        unsigned int    rsv_5             : 11  ; /* [27:17] */
        unsigned int    resblk_state      : 3  ; /* [16:14] */
        unsigned int    luma4x4_b8_state  : 3  ; /* [13:11] */
        unsigned int    seg_luma4x4_state : 4  ; /* [10:7] */
        unsigned int    residul_state     : 3  ; /* [6:4] */
        unsigned int    mb_layer_state    : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STATE2_0_H264;

/* Define the union U_SED_STATE1_0_VP9 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    se2dpi_err           : 1  ; /* [31] */
        unsigned int    rsv_6                : 2  ; /* [30:29] */
        unsigned int    se2dpi_err_type      : 8  ; /* [28:21] */
        unsigned int    rsv_7                : 3  ; /* [20:18] */
        unsigned int    dpi2se_endofvop      : 1  ; /* [17] */
        unsigned int    sed_error            : 1  ; /* [16] */
        unsigned int    vp9_sta_debug[47:32] : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STATE1_0_VP9;

/* Define the union U_SED_STATE0_0_REAL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    se2dpi_sta_1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STATE0_0_REAL;

/* Define the union U_SED_MB_CNT_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_performance_perpic : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_MB_CNT_0;

/* Define the union U_SED_RESIDUAL_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_residual_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_RESIDUAL_CNT;

/* Define the union U_SED_BSINV_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_bs_inv_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_BSINV_CNT;

/* Define the union U_SED_HEAD_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_head_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_HEAD_CNT;

/* Define the union U_SED_RESIDUAL_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_residual_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_RESIDUAL_NUM;

/* Define the union U_SED_SPRESIDUAL_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sed_spresidual_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_SPRESIDUAL_NUM;

/* Define the union U_HEVC_ITRANS_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_itrans_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_ITRANS_CNT;

/* Define the union U_HEVC_CU_WRIT_TOP_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_cu_write_top_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_CU_WRIT_TOP_CNT;

/* Define the union U_HEVC_SEND_WAIT_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_send_wait_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_SEND_WAIT_CNT;

/* Define the union U_HEVC_SE_DEC_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_se_dec_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_SE_DEC_CNT;

/* Define the union U_HEVC_RGU_DEC_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_regular_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_RGU_DEC_CNT;

/* Define the union U_HEVC_BYPASS_DEC_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_bypass_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_BYPASS_DEC_CNT;

/* Define the union U_HEVC_TERM_DEC_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    hevc_terminal_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HEVC_TERM_DEC_CNT;

/* Define the union U_BIT_NUM_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    bit_num_cnt_total : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_BIT_NUM_CNT;

/* Define the union U_VPSSINFO_READ0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    vpssi2sed_read_info[31:0] : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_VPSSINFO_READ0;

/* Define the union U_VPSSINFO_READ1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    vpssi2sed_read_info[63:32] : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_VPSSINFO_READ1;

/* Define the union U_CBF_Y_ZERO_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cbf_y_zero_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CBF_Y_ZERO_NUM;

/* Define the union U_CBF_U_ZERO_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cfb_u_zero_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CBF_U_ZERO_NUM;

/* Define the union U_CBF_V_ZERO_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cbf_v_zero_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CBF_V_ZERO_NUM;

/* Define the union U_QP_Y_MAX_MIN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8    : 16  ; /* [31:16] */
        unsigned int    qp_y_max : 8  ; /* [15:8] */
        unsigned int    qp_y_min : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_Y_MAX_MIN;

/* Define the union U_QP_UV_MAX_MIN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    qp_cr_max : 8  ; /* [31:24] */
        unsigned int    qp_cr_min : 8  ; /* [23:16] */
        unsigned int    qp_cb_max : 8  ; /* [15:8] */
        unsigned int    qp_cb_min : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_UV_MAX_MIN;

/* Define the union U_QP_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    qp_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_NUM;

/* Define the union U_QP_Y_SUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    qp_y_sum : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_Y_SUM;

/* Define the union U_QP_U_SUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    qp_cb_sum : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_U_SUM;

/* Define the union U_QP_V_SUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    qp_cr_sum : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_QP_V_SUM;

/* Define the union U_SED_STRM_BUF0_RDBCK0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK0;

/* Define the union U_SED_STRM_BUF0_RDBCK1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK1;

/* Define the union U_SED_STRM_BUF0_RDBCK2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK2;

/* Define the union U_SED_STRM_BUF0_RDBCK3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK3;

/* Define the union U_SED_STRM_BUF0_RDBCK4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK4;

/* Define the union U_SED_STRM_BUF0_RDBCK5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata5 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK5;

/* Define the union U_SED_STRM_BUF0_RDBCK6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK6;

/* Define the union U_SED_STRM_BUF0_RDBCK7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata7 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK7;

/* Define the union U_SED_STRM_BUF0_RDBCK8 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata8 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK8;

/* Define the union U_SED_STRM_BUF0_RDBCK9 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata9 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK9;

/* Define the union U_SED_STRM_BUF0_RDBCK10 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata10 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK10;

/* Define the union U_SED_STRM_BUF0_RDBCK11 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata11 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK11;

/* Define the union U_SED_STRM_BUF0_RDBCK12 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata12 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK12;

/* Define the union U_SED_STRM_BUF0_RDBCK13 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata13 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK13;

/* Define the union U_SED_STRM_BUF0_RDBCK14 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata14 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK14;

/* Define the union U_SED_STRM_BUF0_RDBCK15 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata15 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK15;

/* Define the union U_SED_STRM_BUF0_RDBCK16 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata16 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK16;

/* Define the union U_SED_STRM_BUF0_RDBCK17 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata17 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK17;

/* Define the union U_SED_STRM_BUF0_RDBCK18 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata18 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK18;

/* Define the union U_SED_STRM_BUF0_RDBCK19 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata19 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK19;

/* Define the union U_SED_STRM_BUF0_RDBCK20 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata20 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK20;

/* Define the union U_SED_STRM_BUF0_RDBCK21 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata21 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK21;

/* Define the union U_SED_STRM_BUF0_RDBCK22 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata22 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK22;

/* Define the union U_SED_STRM_BUF0_RDBCK23 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata23 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK23;

/* Define the union U_SED_STRM_BUF0_RDBCK24 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata24 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK24;

/* Define the union U_SED_STRM_BUF0_RDBCK25 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata25 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK25;

/* Define the union U_SED_STRM_BUF0_RDBCK26 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata26 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK26;

/* Define the union U_SED_STRM_BUF0_RDBCK27 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata27 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK27;

/* Define the union U_SED_STRM_BUF0_RDBCK28 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata28 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK28;

/* Define the union U_SED_STRM_BUF0_RDBCK29 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata29 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK29;

/* Define the union U_SED_STRM_BUF0_RDBCK30 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata30 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK30;

/* Define the union U_SED_STRM_BUF0_RDBCK31 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf0_rdata31 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF0_RDBCK31;

/* Define the union U_SED_STRM_BUF1_RDBCK0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK0;

/* Define the union U_SED_STRM_BUF1_RDBCK1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK1;

/* Define the union U_SED_STRM_BUF1_RDBCK2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK2;

/* Define the union U_SED_STRM_BUF1_RDBCK3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK3;

/* Define the union U_SED_STRM_BUF1_RDBCK4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK4;

/* Define the union U_SED_STRM_BUF1_RDBCK5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata5 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK5;

/* Define the union U_SED_STRM_BUF1_RDBCK6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK6;

/* Define the union U_SED_STRM_BUF1_RDBCK7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata7 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK7;

/* Define the union U_SED_STRM_BUF1_RDBCK8 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata8 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK8;

/* Define the union U_SED_STRM_BUF1_RDBCK9 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata9 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK9;

/* Define the union U_SED_STRM_BUF1_RDBCK10 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata10 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK10;

/* Define the union U_SED_STRM_BUF1_RDBCK11 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata11 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK11;

/* Define the union U_SED_STRM_BUF1_RDBCK12 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata12 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK12;

/* Define the union U_SED_STRM_BUF1_RDBCK13 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata13 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK13;

/* Define the union U_SED_STRM_BUF1_RDBCK14 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata14 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK14;

/* Define the union U_SED_STRM_BUF1_RDBCK15 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata15 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK15;

/* Define the union U_SED_STRM_BUF1_RDBCK16 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata16 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK16;

/* Define the union U_SED_STRM_BUF1_RDBCK17 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata17 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK17;

/* Define the union U_SED_STRM_BUF1_RDBCK18 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata18 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK18;

/* Define the union U_SED_STRM_BUF1_RDBCK19 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata19 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK19;

/* Define the union U_SED_STRM_BUF1_RDBCK20 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata20 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK20;

/* Define the union U_SED_STRM_BUF1_RDBCK21 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata21 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK21;

/* Define the union U_SED_STRM_BUF1_RDBCK22 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata22 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK22;

/* Define the union U_SED_STRM_BUF1_RDBCK23 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata23 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK23;

/* Define the union U_SED_STRM_BUF1_RDBCK24 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata24 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK24;

/* Define the union U_SED_STRM_BUF1_RDBCK25 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata25 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK25;

/* Define the union U_SED_STRM_BUF1_RDBCK26 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata26 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK26;

/* Define the union U_SED_STRM_BUF1_RDBCK27 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata27 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK27;

/* Define the union U_SED_STRM_BUF1_RDBCK28 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata28 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK28;

/* Define the union U_SED_STRM_BUF1_RDBCK29 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata29 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK29;

/* Define the union U_SED_STRM_BUF1_RDBCK30 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata30 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK30;

/* Define the union U_SED_STRM_BUF1_RDBCK31 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    strm_buf1_rdata31 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SED_STRM_BUF1_RDBCK31;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_SED_STA               SED_STA               ; /* 0 */
    volatile U_SED_MBXY              SED_MBXY              ; /* 4 */
    volatile U_SED_FSTMB             SED_FSTMB             ; /* 8 */
    volatile U_SED_LSTMB             SED_LSTMB             ; /* C */
    volatile U_SED_STATE2_0_H264     SED_STATE2_0_H264     ; /* 10 */
    volatile U_SED_STATE1_0_VP9      SED_STATE1_0_VP9      ; /* 14 */
    volatile U_SED_STATE0_0_REAL     SED_STATE0_0_REAL     ; /* 18 */
    volatile U_SED_MB_CNT_0          SED_MB_CNT_0          ; /* 1C */
    volatile U_SED_RESIDUAL_CNT      SED_RESIDUAL_CNT      ; /* 20 */
    volatile U_SED_BSINV_CNT         SED_BSINV_CNT         ; /* 24 */
    volatile U_SED_HEAD_CNT          SED_HEAD_CNT          ; /* 28 */
    volatile U_SED_RESIDUAL_NUM      SED_RESIDUAL_NUM      ; /* 2C */
    volatile U_SED_SPRESIDUAL_NUM    SED_SPRESIDUAL_NUM    ; /* 30 */
    volatile U_HEVC_ITRANS_CNT       HEVC_ITRANS_CNT       ; /* 34 */
    volatile U_HEVC_CU_WRIT_TOP_CNT  HEVC_CU_WRIT_TOP_CNT  ; /* 38 */
    volatile U_HEVC_SEND_WAIT_CNT    HEVC_SEND_WAIT_CNT    ; /* 3C */
    volatile U_HEVC_SE_DEC_CNT       HEVC_SE_DEC_CNT       ; /* 40 */
    volatile U_HEVC_RGU_DEC_CNT      HEVC_RGU_DEC_CNT      ; /* 44 */
    volatile U_HEVC_BYPASS_DEC_CNT   HEVC_BYPASS_DEC_CNT   ; /* 48 */
    volatile U_HEVC_TERM_DEC_CNT     HEVC_TERM_DEC_CNT     ; /* 4C */
    volatile U_BIT_NUM_CNT           BIT_NUM_CNT           ; /* 50 */
    volatile U_VPSSINFO_READ0        VPSSINFO_READ0        ; /* 54 */
    volatile U_VPSSINFO_READ1        VPSSINFO_READ1        ; /* 58 */
    volatile U_CBF_Y_ZERO_NUM        CBF_Y_ZERO_NUM        ; /* 5C */
    volatile U_CBF_U_ZERO_NUM        CBF_U_ZERO_NUM        ; /* 60 */
    volatile U_CBF_V_ZERO_NUM        CBF_V_ZERO_NUM        ; /* 64 */
    volatile U_QP_Y_MAX_MIN          QP_Y_MAX_MIN          ; /* 68 */
    volatile U_QP_UV_MAX_MIN         QP_UV_MAX_MIN         ; /* 6C */
    volatile U_QP_NUM                QP_NUM                ; /* 70 */
    volatile U_QP_Y_SUM              QP_Y_SUM              ; /* 74 */
    volatile U_QP_U_SUM              QP_U_SUM              ; /* 78 */
    volatile U_QP_V_SUM              QP_V_SUM              ; /* 7C */
    volatile U_SED_STRM_BUF0_RDBCK0  SED_STRM_BUF0_RDBCK0  ; /* 80 */
    volatile U_SED_STRM_BUF0_RDBCK1  SED_STRM_BUF0_RDBCK1  ; /* 84 */
    volatile U_SED_STRM_BUF0_RDBCK2  SED_STRM_BUF0_RDBCK2  ; /* 88 */
    volatile U_SED_STRM_BUF0_RDBCK3  SED_STRM_BUF0_RDBCK3  ; /* 8C */
    volatile U_SED_STRM_BUF0_RDBCK4  SED_STRM_BUF0_RDBCK4  ; /* 90 */
    volatile U_SED_STRM_BUF0_RDBCK5  SED_STRM_BUF0_RDBCK5  ; /* 94 */
    volatile U_SED_STRM_BUF0_RDBCK6  SED_STRM_BUF0_RDBCK6  ; /* 98 */
    volatile U_SED_STRM_BUF0_RDBCK7  SED_STRM_BUF0_RDBCK7  ; /* 9C */
    volatile U_SED_STRM_BUF0_RDBCK8  SED_STRM_BUF0_RDBCK8  ; /* A0 */
    volatile U_SED_STRM_BUF0_RDBCK9  SED_STRM_BUF0_RDBCK9  ; /* A4 */
    volatile U_SED_STRM_BUF0_RDBCK10 SED_STRM_BUF0_RDBCK10 ; /* A8 */
    volatile U_SED_STRM_BUF0_RDBCK11 SED_STRM_BUF0_RDBCK11 ; /* AC */
    volatile U_SED_STRM_BUF0_RDBCK12 SED_STRM_BUF0_RDBCK12 ; /* B0 */
    volatile U_SED_STRM_BUF0_RDBCK13 SED_STRM_BUF0_RDBCK13 ; /* B4 */
    volatile U_SED_STRM_BUF0_RDBCK14 SED_STRM_BUF0_RDBCK14 ; /* B8 */
    volatile U_SED_STRM_BUF0_RDBCK15 SED_STRM_BUF0_RDBCK15 ; /* BC */
    volatile U_SED_STRM_BUF0_RDBCK16 SED_STRM_BUF0_RDBCK16 ; /* C0 */
    volatile U_SED_STRM_BUF0_RDBCK17 SED_STRM_BUF0_RDBCK17 ; /* C4 */
    volatile U_SED_STRM_BUF0_RDBCK18 SED_STRM_BUF0_RDBCK18 ; /* C8 */
    volatile U_SED_STRM_BUF0_RDBCK19 SED_STRM_BUF0_RDBCK19 ; /* CC */
    volatile U_SED_STRM_BUF0_RDBCK20 SED_STRM_BUF0_RDBCK20 ; /* D0 */
    volatile U_SED_STRM_BUF0_RDBCK21 SED_STRM_BUF0_RDBCK21 ; /* D4 */
    volatile U_SED_STRM_BUF0_RDBCK22 SED_STRM_BUF0_RDBCK22 ; /* D8 */
    volatile U_SED_STRM_BUF0_RDBCK23 SED_STRM_BUF0_RDBCK23 ; /* DC */
    volatile U_SED_STRM_BUF0_RDBCK24 SED_STRM_BUF0_RDBCK24 ; /* E0 */
    volatile U_SED_STRM_BUF0_RDBCK25 SED_STRM_BUF0_RDBCK25 ; /* E4 */
    volatile U_SED_STRM_BUF0_RDBCK26 SED_STRM_BUF0_RDBCK26 ; /* E8 */
    volatile U_SED_STRM_BUF0_RDBCK27 SED_STRM_BUF0_RDBCK27 ; /* EC */
    volatile U_SED_STRM_BUF0_RDBCK28 SED_STRM_BUF0_RDBCK28 ; /* F0 */
    volatile U_SED_STRM_BUF0_RDBCK29 SED_STRM_BUF0_RDBCK29 ; /* F4 */
    volatile U_SED_STRM_BUF0_RDBCK30 SED_STRM_BUF0_RDBCK30 ; /* F8 */
    volatile U_SED_STRM_BUF0_RDBCK31 SED_STRM_BUF0_RDBCK31 ; /* FC */
    volatile U_SED_STRM_BUF1_RDBCK0  SED_STRM_BUF1_RDBCK0  ; /* 100 */
    volatile U_SED_STRM_BUF1_RDBCK1  SED_STRM_BUF1_RDBCK1  ; /* 104 */
    volatile U_SED_STRM_BUF1_RDBCK2  SED_STRM_BUF1_RDBCK2  ; /* 108 */
    volatile U_SED_STRM_BUF1_RDBCK3  SED_STRM_BUF1_RDBCK3  ; /* 10C */
    volatile U_SED_STRM_BUF1_RDBCK4  SED_STRM_BUF1_RDBCK4  ; /* 110 */
    volatile U_SED_STRM_BUF1_RDBCK5  SED_STRM_BUF1_RDBCK5  ; /* 114 */
    volatile U_SED_STRM_BUF1_RDBCK6  SED_STRM_BUF1_RDBCK6  ; /* 118 */
    volatile U_SED_STRM_BUF1_RDBCK7  SED_STRM_BUF1_RDBCK7  ; /* 11C */
    volatile U_SED_STRM_BUF1_RDBCK8  SED_STRM_BUF1_RDBCK8  ; /* 120 */
    volatile U_SED_STRM_BUF1_RDBCK9  SED_STRM_BUF1_RDBCK9  ; /* 124 */
    volatile U_SED_STRM_BUF1_RDBCK10 SED_STRM_BUF1_RDBCK10 ; /* 128 */
    volatile U_SED_STRM_BUF1_RDBCK11 SED_STRM_BUF1_RDBCK11 ; /* 12C */
    volatile U_SED_STRM_BUF1_RDBCK12 SED_STRM_BUF1_RDBCK12 ; /* 130 */
    volatile U_SED_STRM_BUF1_RDBCK13 SED_STRM_BUF1_RDBCK13 ; /* 134 */
    volatile U_SED_STRM_BUF1_RDBCK14 SED_STRM_BUF1_RDBCK14 ; /* 138 */
    volatile U_SED_STRM_BUF1_RDBCK15 SED_STRM_BUF1_RDBCK15 ; /* 13C */
    volatile U_SED_STRM_BUF1_RDBCK16 SED_STRM_BUF1_RDBCK16 ; /* 140 */
    volatile U_SED_STRM_BUF1_RDBCK17 SED_STRM_BUF1_RDBCK17 ; /* 144 */
    volatile U_SED_STRM_BUF1_RDBCK18 SED_STRM_BUF1_RDBCK18 ; /* 148 */
    volatile U_SED_STRM_BUF1_RDBCK19 SED_STRM_BUF1_RDBCK19 ; /* 14C */
    volatile U_SED_STRM_BUF1_RDBCK20 SED_STRM_BUF1_RDBCK20 ; /* 150 */
    volatile U_SED_STRM_BUF1_RDBCK21 SED_STRM_BUF1_RDBCK21 ; /* 154 */
    volatile U_SED_STRM_BUF1_RDBCK22 SED_STRM_BUF1_RDBCK22 ; /* 158 */
    volatile U_SED_STRM_BUF1_RDBCK23 SED_STRM_BUF1_RDBCK23 ; /* 15C */
    volatile U_SED_STRM_BUF1_RDBCK24 SED_STRM_BUF1_RDBCK24 ; /* 160 */
    volatile U_SED_STRM_BUF1_RDBCK25 SED_STRM_BUF1_RDBCK25 ; /* 164 */
    volatile U_SED_STRM_BUF1_RDBCK26 SED_STRM_BUF1_RDBCK26 ; /* 168 */
    volatile U_SED_STRM_BUF1_RDBCK27 SED_STRM_BUF1_RDBCK27 ; /* 16C */
    volatile U_SED_STRM_BUF1_RDBCK28 SED_STRM_BUF1_RDBCK28 ; /* 170 */
    volatile U_SED_STRM_BUF1_RDBCK29 SED_STRM_BUF1_RDBCK29 ; /* 174 */
    volatile U_SED_STRM_BUF1_RDBCK30 SED_STRM_BUF1_RDBCK30 ; /* 178 */
    volatile U_SED_STRM_BUF1_RDBCK31 SED_STRM_BUF1_RDBCK31 ; /* 17C */

} S_sed_REGS_TYPE;

/* Declare the struct pointor of the module sed */
extern volatile S_sed_REGS_TYPE *gopsedAllReg;

/* Declare the functions that set the member value */
int iSetSED_STA_it2se_buffer_full(unsigned int uit2se_buffer_full);
int iSetSED_STA_pmv2se_buffer_full(unsigned int upmv2se_buffer_full);
int iSetSED_STA_pmv2sed_ctb_buf_full(unsigned int upmv2sed_ctb_buf_full);
int iSetSED_STA_pmv2sed_cu_buf_full(unsigned int upmv2sed_cu_buf_full);
int iSetSED_STA_pmv2sed_pu_buf_full(unsigned int upmv2sed_pu_buf_full);
int iSetSED_STA_pmv2sed_tu_buf_full(unsigned int upmv2sed_tu_buf_full);
int iSetSED_STA_ctl2par_top_sta(unsigned int uctl2par_top_sta);
int iSetSED_STA_ctl2par_err(unsigned int uctl2par_err);
int iSetSED_STA_ctl2par_pic_rdy(unsigned int uctl2par_pic_rdy);
int iSetSED_STA_ctl2par_slc_rdy(unsigned int uctl2par_slc_rdy);
int iSetSED_STA_ctl2par_mb_rdy(unsigned int uctl2par_mb_rdy);
int iSetSED_MBXY_se2dpi_mby(unsigned int use2dpi_mby);
int iSetSED_MBXY_se2dpi_mbx(unsigned int use2dpi_mbx);
int iSetSED_FSTMB_first_mb_num(unsigned int ufirst_mb_num);
int iSetSED_LSTMB_last_mb_num(unsigned int ulast_mb_num);
int iSetSED_STATE2_0_H264_se_mvd_state(unsigned int use_mvd_state);
int iSetSED_STATE2_0_H264_resblk_state(unsigned int uresblk_state);
int iSetSED_STATE2_0_H264_luma4x4_b8_state(unsigned int uluma4x4_b8_state);
int iSetSED_STATE2_0_H264_seg_luma4x4_state(unsigned int useg_luma4x4_state);
int iSetSED_STATE2_0_H264_residul_state(unsigned int uresidul_state);
int iSetSED_STATE2_0_H264_mb_layer_state(unsigned int umb_layer_state);
int iSetSED_STATE1_0_VP9_se2dpi_err(unsigned int use2dpi_err);
int iSetSED_STATE1_0_VP9_se2dpi_err_type(unsigned int use2dpi_err_type);
int iSetSED_STATE1_0_VP9_dpi2se_endofvop(unsigned int udpi2se_endofvop);
int iSetSED_STATE1_0_VP9_sed_error(unsigned int used_error);
int iSetSED_STATE1_0_VP9_vp9_sta_debug[47:32](unsigned int uvp9_sta_debug[47:32]);
int iSetSED_STATE0_0_REAL_se2dpi_sta_1(unsigned int use2dpi_sta_1);
int iSetSED_MB_CNT_0_sed_performance_perpic(unsigned int used_performance_perpic);
int iSetSED_RESIDUAL_CNT_sed_residual_cnt(unsigned int used_residual_cnt);
int iSetSED_BSINV_CNT_sed_bs_inv_cnt(unsigned int used_bs_inv_cnt);
int iSetSED_HEAD_CNT_sed_head_cnt(unsigned int used_head_cnt);
int iSetSED_RESIDUAL_NUM_sed_residual_num(unsigned int used_residual_num);
int iSetSED_SPRESIDUAL_NUM_sed_spresidual_num(unsigned int used_spresidual_num);
int iSetHEVC_ITRANS_CNT_hevc_itrans_cnt(unsigned int uhevc_itrans_cnt);
int iSetHEVC_CU_WRIT_TOP_CNT_hevc_cu_write_top_cnt(unsigned int uhevc_cu_write_top_cnt);
int iSetHEVC_SEND_WAIT_CNT_hevc_send_wait_cnt(unsigned int uhevc_send_wait_cnt);
int iSetHEVC_SE_DEC_CNT_hevc_se_dec_cnt(unsigned int uhevc_se_dec_cnt);
int iSetHEVC_RGU_DEC_CNT_hevc_regular_cnt(unsigned int uhevc_regular_cnt);
int iSetHEVC_BYPASS_DEC_CNT_hevc_bypass_cnt(unsigned int uhevc_bypass_cnt);
int iSetHEVC_TERM_DEC_CNT_hevc_terminal_cnt(unsigned int uhevc_terminal_cnt);
int iSetBIT_NUM_CNT_bit_num_cnt_total(unsigned int ubit_num_cnt_total);
int iSetVPSSINFO_READ0_vpssi2sed_read_info[31:0](unsigned int uvpssi2sed_read_info[31:0]);
int iSetVPSSINFO_READ1_vpssi2sed_read_info[63:32](unsigned int uvpssi2sed_read_info[63:32]);
int iSetCBF_Y_ZERO_NUM_cbf_y_zero_num(unsigned int ucbf_y_zero_num);
int iSetCBF_U_ZERO_NUM_cfb_u_zero_num(unsigned int ucfb_u_zero_num);
int iSetCBF_V_ZERO_NUM_cbf_v_zero_num(unsigned int ucbf_v_zero_num);
int iSetQP_Y_MAX_MIN_qp_y_max(unsigned int uqp_y_max);
int iSetQP_Y_MAX_MIN_qp_y_min(unsigned int uqp_y_min);
int iSetQP_UV_MAX_MIN_qp_cr_max(unsigned int uqp_cr_max);
int iSetQP_UV_MAX_MIN_qp_cr_min(unsigned int uqp_cr_min);
int iSetQP_UV_MAX_MIN_qp_cb_max(unsigned int uqp_cb_max);
int iSetQP_UV_MAX_MIN_qp_cb_min(unsigned int uqp_cb_min);
int iSetQP_NUM_qp_num(unsigned int uqp_num);
int iSetQP_Y_SUM_qp_y_sum(unsigned int uqp_y_sum);
int iSetQP_U_SUM_qp_cb_sum(unsigned int uqp_cb_sum);
int iSetQP_V_SUM_qp_cr_sum(unsigned int uqp_cr_sum);
int iSetSED_STRM_BUF0_RDBCK0_strm_buf0_rdata0(unsigned int ustrm_buf0_rdata0);
int iSetSED_STRM_BUF0_RDBCK1_strm_buf0_rdata1(unsigned int ustrm_buf0_rdata1);
int iSetSED_STRM_BUF0_RDBCK2_strm_buf0_rdata2(unsigned int ustrm_buf0_rdata2);
int iSetSED_STRM_BUF0_RDBCK3_strm_buf0_rdata3(unsigned int ustrm_buf0_rdata3);
int iSetSED_STRM_BUF0_RDBCK4_strm_buf0_rdata4(unsigned int ustrm_buf0_rdata4);
int iSetSED_STRM_BUF0_RDBCK5_strm_buf0_rdata5(unsigned int ustrm_buf0_rdata5);
int iSetSED_STRM_BUF0_RDBCK6_strm_buf0_rdata6(unsigned int ustrm_buf0_rdata6);
int iSetSED_STRM_BUF0_RDBCK7_strm_buf0_rdata7(unsigned int ustrm_buf0_rdata7);
int iSetSED_STRM_BUF0_RDBCK8_strm_buf0_rdata8(unsigned int ustrm_buf0_rdata8);
int iSetSED_STRM_BUF0_RDBCK9_strm_buf0_rdata9(unsigned int ustrm_buf0_rdata9);
int iSetSED_STRM_BUF0_RDBCK10_strm_buf0_rdata10(unsigned int ustrm_buf0_rdata10);
int iSetSED_STRM_BUF0_RDBCK11_strm_buf0_rdata11(unsigned int ustrm_buf0_rdata11);
int iSetSED_STRM_BUF0_RDBCK12_strm_buf0_rdata12(unsigned int ustrm_buf0_rdata12);
int iSetSED_STRM_BUF0_RDBCK13_strm_buf0_rdata13(unsigned int ustrm_buf0_rdata13);
int iSetSED_STRM_BUF0_RDBCK14_strm_buf0_rdata14(unsigned int ustrm_buf0_rdata14);
int iSetSED_STRM_BUF0_RDBCK15_strm_buf0_rdata15(unsigned int ustrm_buf0_rdata15);
int iSetSED_STRM_BUF0_RDBCK16_strm_buf0_rdata16(unsigned int ustrm_buf0_rdata16);
int iSetSED_STRM_BUF0_RDBCK17_strm_buf0_rdata17(unsigned int ustrm_buf0_rdata17);
int iSetSED_STRM_BUF0_RDBCK18_strm_buf0_rdata18(unsigned int ustrm_buf0_rdata18);
int iSetSED_STRM_BUF0_RDBCK19_strm_buf0_rdata19(unsigned int ustrm_buf0_rdata19);
int iSetSED_STRM_BUF0_RDBCK20_strm_buf0_rdata20(unsigned int ustrm_buf0_rdata20);
int iSetSED_STRM_BUF0_RDBCK21_strm_buf0_rdata21(unsigned int ustrm_buf0_rdata21);
int iSetSED_STRM_BUF0_RDBCK22_strm_buf0_rdata22(unsigned int ustrm_buf0_rdata22);
int iSetSED_STRM_BUF0_RDBCK23_strm_buf0_rdata23(unsigned int ustrm_buf0_rdata23);
int iSetSED_STRM_BUF0_RDBCK24_strm_buf0_rdata24(unsigned int ustrm_buf0_rdata24);
int iSetSED_STRM_BUF0_RDBCK25_strm_buf0_rdata25(unsigned int ustrm_buf0_rdata25);
int iSetSED_STRM_BUF0_RDBCK26_strm_buf0_rdata26(unsigned int ustrm_buf0_rdata26);
int iSetSED_STRM_BUF0_RDBCK27_strm_buf0_rdata27(unsigned int ustrm_buf0_rdata27);
int iSetSED_STRM_BUF0_RDBCK28_strm_buf0_rdata28(unsigned int ustrm_buf0_rdata28);
int iSetSED_STRM_BUF0_RDBCK29_strm_buf0_rdata29(unsigned int ustrm_buf0_rdata29);
int iSetSED_STRM_BUF0_RDBCK30_strm_buf0_rdata30(unsigned int ustrm_buf0_rdata30);
int iSetSED_STRM_BUF0_RDBCK31_strm_buf0_rdata31(unsigned int ustrm_buf0_rdata31);
int iSetSED_STRM_BUF1_RDBCK0_strm_buf1_rdata0(unsigned int ustrm_buf1_rdata0);
int iSetSED_STRM_BUF1_RDBCK1_strm_buf1_rdata1(unsigned int ustrm_buf1_rdata1);
int iSetSED_STRM_BUF1_RDBCK2_strm_buf1_rdata2(unsigned int ustrm_buf1_rdata2);
int iSetSED_STRM_BUF1_RDBCK3_strm_buf1_rdata3(unsigned int ustrm_buf1_rdata3);
int iSetSED_STRM_BUF1_RDBCK4_strm_buf1_rdata4(unsigned int ustrm_buf1_rdata4);
int iSetSED_STRM_BUF1_RDBCK5_strm_buf1_rdata5(unsigned int ustrm_buf1_rdata5);
int iSetSED_STRM_BUF1_RDBCK6_strm_buf1_rdata6(unsigned int ustrm_buf1_rdata6);
int iSetSED_STRM_BUF1_RDBCK7_strm_buf1_rdata7(unsigned int ustrm_buf1_rdata7);
int iSetSED_STRM_BUF1_RDBCK8_strm_buf1_rdata8(unsigned int ustrm_buf1_rdata8);
int iSetSED_STRM_BUF1_RDBCK9_strm_buf1_rdata9(unsigned int ustrm_buf1_rdata9);
int iSetSED_STRM_BUF1_RDBCK10_strm_buf1_rdata10(unsigned int ustrm_buf1_rdata10);
int iSetSED_STRM_BUF1_RDBCK11_strm_buf1_rdata11(unsigned int ustrm_buf1_rdata11);
int iSetSED_STRM_BUF1_RDBCK12_strm_buf1_rdata12(unsigned int ustrm_buf1_rdata12);
int iSetSED_STRM_BUF1_RDBCK13_strm_buf1_rdata13(unsigned int ustrm_buf1_rdata13);
int iSetSED_STRM_BUF1_RDBCK14_strm_buf1_rdata14(unsigned int ustrm_buf1_rdata14);
int iSetSED_STRM_BUF1_RDBCK15_strm_buf1_rdata15(unsigned int ustrm_buf1_rdata15);
int iSetSED_STRM_BUF1_RDBCK16_strm_buf1_rdata16(unsigned int ustrm_buf1_rdata16);
int iSetSED_STRM_BUF1_RDBCK17_strm_buf1_rdata17(unsigned int ustrm_buf1_rdata17);
int iSetSED_STRM_BUF1_RDBCK18_strm_buf1_rdata18(unsigned int ustrm_buf1_rdata18);
int iSetSED_STRM_BUF1_RDBCK19_strm_buf1_rdata19(unsigned int ustrm_buf1_rdata19);
int iSetSED_STRM_BUF1_RDBCK20_strm_buf1_rdata20(unsigned int ustrm_buf1_rdata20);
int iSetSED_STRM_BUF1_RDBCK21_strm_buf1_rdata21(unsigned int ustrm_buf1_rdata21);
int iSetSED_STRM_BUF1_RDBCK22_strm_buf1_rdata22(unsigned int ustrm_buf1_rdata22);
int iSetSED_STRM_BUF1_RDBCK23_strm_buf1_rdata23(unsigned int ustrm_buf1_rdata23);
int iSetSED_STRM_BUF1_RDBCK24_strm_buf1_rdata24(unsigned int ustrm_buf1_rdata24);
int iSetSED_STRM_BUF1_RDBCK25_strm_buf1_rdata25(unsigned int ustrm_buf1_rdata25);
int iSetSED_STRM_BUF1_RDBCK26_strm_buf1_rdata26(unsigned int ustrm_buf1_rdata26);
int iSetSED_STRM_BUF1_RDBCK27_strm_buf1_rdata27(unsigned int ustrm_buf1_rdata27);
int iSetSED_STRM_BUF1_RDBCK28_strm_buf1_rdata28(unsigned int ustrm_buf1_rdata28);
int iSetSED_STRM_BUF1_RDBCK29_strm_buf1_rdata29(unsigned int ustrm_buf1_rdata29);
int iSetSED_STRM_BUF1_RDBCK30_strm_buf1_rdata30(unsigned int ustrm_buf1_rdata30);
int iSetSED_STRM_BUF1_RDBCK31_strm_buf1_rdata31(unsigned int ustrm_buf1_rdata31);

#endif // __SED_C_UNION_DEFINE_H__
